package com.zkthink.ceres.app.authority.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * Created by kellen on 2020/6/21.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "GetMiniAppUserInfoDTO", description = "获取微信用户信息")
public class MiniAppAuthDTO {

    @ApiModelProperty(value = "encryptedData")
    @NotEmpty(message = "encryptedData不允许为空")
    private String encryptedData;

    @ApiModelProperty(value = "iv")
    @NotEmpty(message = "iv不允许为空")
    private String iv;
    private String sessionKey;
    private String phone;

}
